package com.woniu.service.medicalService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.gh.utils.PageVo;
import com.woniu.model.gh.utils.TypeVo;
import com.woniu.model.medicalService.entity.Hospital;

import java.util.List;
import java.util.Map;

//医院表
public interface IHospitalService extends IService<Hospital> {

    //按医院名称查询 分词
    PageVo<Hospital> findByName(Map<String, Object> condition);

    //获取医院类型
    List<TypeVo> getType();

    //获取医院等级
    List<TypeVo> getGrade();

    //获取添加后的最后一页
    int getLastPage();

}
